package com.ndp.fb.walle.model.bo.ectemplate;

import com.ndp.fb.rdb.model.ectemplate.EcProductLogo;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by sisi.chen on 2016/7/13.
 */
@Setter
@Getter
@NoArgsConstructor
public class StyleGroup implements Comparable<StyleGroup>, Serializable {
    private Integer styleGroupId;

    //一个样式组下，有主、辅样式
    private Map<String, EcProductLogo> logos;

    @Override
    public int compareTo(StyleGroup o) {
        return Integer.compare(this.styleGroupId, o.styleGroupId);
    }
}
